<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/jquery-module.js"></script>
    <script>
        console.log($)
            // $(function() {
            //     let username = document.querySelector('#username');
            //     username.oninput = function() {
            //         let script = document.createElement('script');
            //         script.src = "http://localhost/2013/day24/interface/hasuser-jsonp.php?username=" + this.value + "&callback=abc";
            //         // document.body.appendChild(script);
            //         // document.body.removeChild(script);
            //         // $('html').append(script);
            //         // $(script).remove();
            //         console.log($)
            //     }
            // })

        // function abc(data) {
        //     console.log(data);
        // }
    </script>
</head>

<body>
    <input type="text" id="username">
    <span id="res"></span>
</body>

</html>